﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PokerStar.Core
{
    public class Card
    {
        public Card(Suit suit, char number)
        {
            Number = number;
            Suit = suit;
        }

        public Suit Suit { get; private set; }
        public Char Number { get; private set; }

        public override string ToString()
        {
            return string.Format("{0} {1}", (char)Suit, Number == 'T' ? "10" : Number.ToString());
        }
    }
}
